#home-slider .slides .flex-caption{
    position: absolute;
}
.flexslider ul.slides > li{
    min-height:500px;
}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
 /* Browser Resets */
 .flex-container a:active,
 .flexslider a:active,
 .flex-container a:focus,
 .flexslider a:focus  {outline: none;}
 .slides,
 .flex-control-nav,
 .flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 

.flexslider .slides > li {

    overflow: hidden;
    display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
    .flexslider .slides img {min-width: 100%; display: block;}
    .flex-pauseplay span {text-transform: capitalize;}

    /* Clearfix for the .slides element */
    .slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
    html[xmlns] .slides {display: block;} 
    * html .slides {height: 1%;}

    /* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
* include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.section-modello-one-slider{
    position:relative;
}
.section-modello-one-slider:before{
    content:"";
    top:0;
    left:0;
    z-index:10;
    display:block;
    background-color:#EEECEF;
    position:absolute;
    width:98%;
    left:0;
    right:0;
    margin:auto;
    height:100%;
    
}
.flexslider { 
 width: 100%;
 min-height: 500px; margin: 0; padding:  0; position: relative;   zoom: 1;}
 .flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
 .loading .flex-viewport {max-height: 300px;}
 .flexslider .slides {zoom: 1;}

 .carousel li {margin-right: 5px}


 /* Direction Nav */
 .slide {
    height: 537px;
    width:100%;
    
    position:relative;
}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {
    bottom: -3%;
    right: 45%;
    z-index: 400;
    /*width: 10%;*/
    height: 7%; 
    position: absolute;
    text-align: center;
    padding: 10px;
    background: none repeat scroll 0 0 #fff;
    border-radius: 3px;

}
.flex-control-nav li {margin: 0 2px; display: inline-block; zoom: 1; *display: inline;font-weight: bold;}

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

.flex-caption {
    position:absolute;
    z-index:100;
    width: 100%;

    left:0;
    right:0;
    margin:auto;
}

.big-text {
    font-size:500px;
    line-height:300px;
    height:100%;
    display:inline-block;
    letter-spacing:70px;
    font-weight:400;
    color:#F5F3F6;
}

.back-layer,.front-layer {
    position:absolute;
    top:0;
    width:100%;
    height:100%;
}
.back-layer{
    z-index:50;
    
}
.front-layer{
    z-index:200;
    height:100%;
}
.flex-caption h2,.flex-caption h1,.flex-caption h3{
    color:#fff;
    
    text-transform:uppercase;
}
.flex-caption h2{
    font-size:70px;
    line-height:70px;
    font-weight:700;
    margin:-10px 0 0 0;
    letter-spacing:5px;
}

.flex-caption h3{
    letter-spacing:2px;
    font-size:40px;
    line-height:40px;
    font-weight:400;
}
.flex-caption{
    height:100%;
}
.texts-holder .lines{
    position:absolute;
    top:-90px;
    left:50px;
}
.flex-caption .texts-holder{

    position:absolute;
    z-index:200;
    top:90px;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    width:50%;
    height:200px;
    text-align:center;
}
#index .content {
  margin: 0;
}
#home-slider .slides,#home-slider .slides, li{
    margin: 0;
}
#home-slider .flexslider .flex-direction-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index:9;
}
#home-slider .flexslider .flex-next {
   float: right;
   margin-right: 20px;
}
#home-slider .flexslider .flex-prev {
   float: left;
   margin-left: 20px;
}
#home-slider .flex-direction-nav > li > a {
  border: 1px solid #FFFFFF;
  border: medium none;
  border-radius: 3px;
  background-color: #d3d3d3;
  background-image: none;
  color: #FFFFFF;
  display: block;
  text-align: center;
  font-size: 21px;
  padding: 0 10px;
}
#home-slider .flex-direction-nav > li > a i {
  font-weight: bolder;
}
#home-slider .slides,#home-slider .slides li{
    margin: 0;
}
.flex-control-paging li a{
  border: 1px solid #d3d3d3;
  border-radius: 10px;
  background-color: #d3d3d3;
  cursor: pointer;
  float: left;
  height: 15px;
  margin: 0 5px;
  position: relative;
  width: 15px;
  text-indent: -9999px;
}
#home-slider {
  margin-bottom: 30px;
}

.flex-caption  {
  border-style: none;
  border-width: 0;
  color: #FFFFFF;
  font-family: 'Vidaloka',serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 36px;
  margin: 0;
  display: none;
  position: absolute;
  white-space: nowrap;
}
.flex-caption.animation-done{
  display: block;
}
.flexslider ul.slides > li{
  min-height:500px;
}
#home-slider .slides .flex-caption{
  position: absolute;
}
.flex-control-nav, .flex-direction-nav {
  display: none;
}
@media (max-width: 767px) {
  .flexslider ul.slides > li{
    min-height: 100%;
  }
  .flexslider {
    min-height: 100%;
  }
  .flex-control-nav {
    width: 38%;
    right: 35%;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .flexslider ul.slides > li{
    min-height: 100%;
  }
  .flexslider {
    min-height: 100%;
  }
  .flex-control-nav {
    width: 15%;
  }
}

.slider-caption{
  font-size: 50px;
  line-height: 64px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  color: #5D5D5D;
}
.slider-caption.caption-1{
  font-size: 50px;
}
.slider-caption.caption-2{
  font-size: 90px;
}
